package a66weding.com.jiehuntong.activity;

import android.util.Log;
import android.view.View;

import org.xutils.common.Callback;
import org.xutils.http.RequestParams;
import org.xutils.x;

import a66weding.com.jiehuntong.R;
import a66weding.com.jiehuntong.application.GlobalApplication;
import a66weding.com.jiehuntong.base.BaseActivity;

/**
 * Created by admin on 2016/5/31.
 */
public class Tools_ImmAddGuesActivity extends BaseActivity {

    @Override
    protected View getContentView() {
        ((GlobalApplication) getApplication()).getActivityManager().addActivity("Tools_ImmAddGuesActivity", this);
        View myBodyview = View.inflate(this, R.layout.activity_tools_addguestsseat, null);
        return myBodyview;
    }

    public void backBtn(View view) {
        finish();
    }

    public void finishBtn(View view) {
        RequestParams requestParams = new RequestParams();
        x.http().post(requestParams, new Callback.CommonCallback<String>() {
            @Override
            public void onSuccess(String result) {
            }

            @Override
            public void onError(Throwable ex, boolean isOnCallback) {

            }

            @Override
            public void onCancelled(CancelledException cex) {

            }

            @Override
            public void onFinished() {

            }
        });
    }
}
